var express = require('express');
var router = express.Router();
var multer  = require('multer');
var path =require('path');
var dataCtrl = require('../controllers/upload.controller');

router.post('/data',dataCtrl.create);
router.post('/img',dataCtrl.img);
router.post('/data/:id',dataCtrl.update);
router.post('/fs',dataCtrl.remove);
router.post('/list',dataCtrl.list);


module.exports = router;
